package com.ywk.pattern._6_decorator;

public class Main {
    public static void main(String[] args) {
        Person xc = new Person("小菜");
        System.out.println("第一种装扮");
        BigTrouser bt = new BigTrouser();
        Suite st = new Suite();
        Tshirt ts = new Tshirt();
        bt.Decorate(xc);
        st.Decorate(bt);
        ts.Decorate(st);
        ts.show();
    }
}
